/**
	@file	pgsys_def.h
	@brief	システムフレームリテラル定義
	@author	Miyuki Iwasawa

*/

typedef enum{
 SBTN_SKIN,
 SBTN_RADIO,
 SBTN_MAP,
 SBTN_TEL,
 SBTN_EXIT,
}SBTN_CODE;

///ボタンスクリーンの位置定義
#define SBTN_PY	(20)
#define SBTN_SY	(4)
#define SBTN_APP_SX	(6)
#define SBTN_APP_OFSX	(6)

#define SBTN_SKIN_PX	(1)
#define SBTN_RADIO_PX	(SBTN_SKIN_PX+SBTN_APP_SX)
#define SBTN_MAP_PX		(SBTN_RADIO_PX+SBTN_APP_SX)
#define SBTN_TEL_PX		(SBTN_MAP_PX+SBTN_APP_SX)
#define SBTN_EXIT_PX	(SBTN_TEL_PX+SBTN_APP_SX+1)
#define SBTN_EXIT_SX	(6)

#define SYSOAM_CURSOR_X	(64)
#define SYSOAM_CURSOR_Y	(64)

#define SYSOAM_NUM0_X		(56+14)
#define SYSOAM_NUM1_X		(SYSOAM_NUM0_X+16)
#define SYSOAM_NUMCONT_X	(SYSOAM_NUM1_X+12)
#define SYSOAM_NUM2_X		(SYSOAM_NUMCONT_X+12)
#define SYSOAM_NUM3_X		(SYSOAM_NUM2_X+16)
#define SYSOAM_NUM_Y		(46)

#define SYSOAM_DAY_X	(176-3)
#define SYSOAM_DAY_Y	(48)

#define SYSOAM_COM_X	(SYSOAM_DAY_X+24)
#define SYSOAM_COM_Y	(SYSOAM_DAY_Y)

///タッチパネル座標定義
#define TP_EXIT_PY	(20*8)
#define TP_EXIT_PX	(26*8-2)
#define TP_EXIT_SY	(4*8)
#define TP_EXIT_SX	(6*8)
#define TP_EXIT_SYH	(TP_EXIT_SY/2)
#define TP_EXIT_SXH	(TP_EXIT_SX/2)

#define TP_APP_PY	(20*8)
#define TP_APP_SY	(4*8)
#define TP_APP_SX	(6*8)
#define TP_APP_SYH	(TP_APP_SY/2)
#define TP_APP_SXH	(TP_APP_SX/2)

#define TP_SKIN_PX	(1*8)
#define TP_RADIO_PX	(TP_SKIN_PX+TP_APP_SX)
#define TP_MAP_PX	(TP_RADIO_PX+TP_APP_SX)
#define TP_TEL_PX	(TP_MAP_PX+TP_APP_SX)

#define CP_EXIT_OFSX	(16)
#define CP_APP_OFSX	(16)
#define CP_OFSY	(10)